import request from '@/utils/request'

// 查询会员等级配置列表
export function listMember_level(query) {
  return request({
    url: '/ora/member_level/list',
    method: 'get',
    params: query
  })
}

// 查询会员等级配置详细
export function getMember_level(id) {
  return request({
    url: '/ora/member_level/' + id,
    method: 'get'
  })
}

// 新增会员等级配置
export function addMember_level(data) {
  return request({
    url: '/ora/member_level',
    method: 'post',
    data: data
  })
}

// 修改会员等级配置
export function updateMember_level(data) {
  return request({
    url: '/ora/member_level',
    method: 'put',
    data: data
  })
}

// 删除会员等级配置
export function delMember_level(id) {
  return request({
    url: '/ora/member_level/' + id,
    method: 'delete'
  })
}
